package com.kai.dto;

import com.kai.annotation.Service;

import java.io.Serializable;

/**
 * @author kai
 * @date 2021/3/20 8:14
 * @description:
 */
@Service("com.kai.rpc.provider.service.impl.UserServiceImpl")
public class UserDto implements Serializable {
    private static final long serialVersionUID = -3158910943682356745L;
    private Long id;
    private String name;
    private Integer age;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "UserDto{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
